<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>book result</title>

</head>

<body>

	<s:iterator value="#session.books" var="book">
		<s:property value="#book.bookid" />
		<br>
		<s:property value="#book.bookname" />
		<br>
		<td><s:property value="#book.author" /><br>
		<td><s:property value="#book.publisherid" /> <br>
		<s:property value="#book.pubdate" /> <br>
		<s:property value="#book.price" /><br>
	</s:iterator>



</body>
</html>
